package com.jake.xpage;

import android.content.Context;
import android.os.Bundle;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

import com.jake.xpage.demos.MainPage;
import com.jake.xpage.page.XPage;
import com.jake.xpage.page.XPageActivity;
import com.jake.xpage.route.Navigator;

public class MainActivity extends XPageActivity {


    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        Navigator.init(mContentView);
    }


    @Override
    protected XPage createMainPage(@NonNull Context context) {
        return new MainPage(context);
    }

}